/*
 * @Author: xujianxing
 * @Date: 2020-03-07 11:46:57
 * @LastEditors  : xujianxing
 * @LastEditTime : 2020-03-14 16:22:47
 * @Description: file content
 */
import styled from "styled-components";
export const SearchWrapper = styled.section`
  margin: 0 auto;
  .result-wrapper {
    padding: 8px 0 4px;
    .title {
      margin-left: 10px;
      font-size: 12px;
      line-height: 16px;
      color: #666;
    }
  }
`;
export const MatchListWrapper = styled.div`
  h3 {
    margin-left: 10px;
    font-size: 12px;
    line-height: 16px;
    color: #666;
  }
  .match-item {
    position: relative;
    height: 66px;
    &::after {
      border-color: rgba(0, 0, 0, 0.2);
    }
    &.mv {
      figure {
        &::after {
          content: " ";
          width: 20px;
          height: 20px;
          background: url()
            0 0 / contain no-repeat;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
      }
    }
    .cover {
      display: flex;
      align-items: center;
      height: 66px;
      margin-left: 10px;
      padding: 8px 10px 8px 0;
      box-sizing: border-box;
      img {
        position: relative;
      }
      figure {
        position: relative;
        height: 50px;
        margin-right: 15px;
        line-height: 0;
      }
      article {
        flex: 1;
        width: 1%;
        h4 {
          font-size: 17px;
          line-height: 30px;
          color: #333;
        }
        p {
          font-size: 12px;
          line-height: 15px;
          color: #999;
          width: 100%;
          display: inline-block;
        }
      }
      .iconfont {
        margin-right: 4px;
        margin-left: 10px;
      }
    }
  }
`;
export const SearchRemdWord = styled.div`
  h3 {
    height: 50px;
    margin-left: 10px;
    padding-right: 10px;
    font-size: 15px;
    line-height: 50px;
    color: #507daf;
  }
  .remd-item {
    display: flex;
    height: 45px;
    padding-left: 10px;
    align-items: center;
    font-size: 15px;
    .iconfont {
      width: 15px;
      height: 15px;
      margin-right: 7px;
      color: #d4d4d4;
      transform: scale(0.9);
    }
    span {
      color: #333;
      flex: 1;
      padding-right: 10px;
    }
  }
`;
export const InputWrapper = styled.div`
  padding: 15px 10px;
  position: relative;
  z-index: 2;
  &::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    transform-origin: top left;
    transform: scale(0.5);
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    z-index: -1;
  }
  .s {
    position: relative;
    width: 100%;
    height: 30px;
    padding: 0 30px;
    box-sizing: border-box;
    background: #ebecec;
    border-radius: 30px;
    .iconfont {
      position: absolute;
      top: 8px;
      vertical-align: middle;
      margin: 0 8px;
      color: #bcbdbd;
      &.icon-search {
        left: 0;
        transform: scale(0.8);
        color: #c9c9ca;
      }
      &.icon-cuo {
        right: 0;
        transform-origin: bottom;
        transform: scale(1.2);
      }
    }
    input {
      width: 100%;
      height: 30px;
      line-height: 18px;
      background: rgba(0, 0, 0, 0);
      font-size: 14px;
      color: #333;
      border: 0;
      outline: 0;
      &::placeholder {
        color: #c9c9c9;
        background: rgba(0, 0, 0, 0);
      }
    }
  }
`;
export const HotWordWrapper = styled.div`
  width: 100%;
  section {
    padding: 15px 10px 0;
    .title {
      font-size: 12px;
      line-height: 12px;
      color: #666;
    }
    .list {
      margin: 10px 0 7px;
      .list-item {
        display: inline-block;
        height: 32px;
        margin: 0 8px 8px 0;
        padding: 0 14px;
        font-size: 14px;
        line-height: 32px;
        color: #333;
        position: relative;
        &::after {
          border-radius: 60px;
          border-color: #d3d4da;
        }
      }
    }
  }
`;
